<?php
/**
 * Created by PhpStorm.
 * User: 枪不抬何安然
 * Date: 2021/11/29
 * Time: 21:21
 */
//一个URL参数
echo '一个URL参数';
echo '<br/>';
//print_r($_SERVER);
echo '完整地址：'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
echo '<br/>';
echo '用户IP：'.$_SERVER['SERVER_ADDR'];
echo '<br/>';
echo '请求方法：'.$_SERVER['REQUEST_METHOD'];
echo '<br/>';
echo 'URL参数：';
print_r($_GET);